In user-based collaborative filtering recommendation based on social relations, sometimes the ratings for the target items can not be predicted. Whats more, in traditional item-based collaborative filtering, there are still some items which are not in the same class with the target item and not suitable to be references for predicting ratings. To handle these problems, two new algorithms of collaborative filtering recommendation were proposed, in which the tags of scenic spots type were introduced to compute the similarity between two scenic spots. The experimental results on the data set of scenic spots ratings show that, compared with the user-based collaborative filtering recommendation algorithms based on social relations, the algorithm based on the social relation and tag can increase the accuracy and the coverage by 10% and 4% respectively, and compared with the item-based collaborative filtering recommendation algorithms, the collaborative filtering recommendation algorithm based on item and tag can increase the accuracy by 15%, it also shows that introducing the tags of scenic spots type can make the computation of the similarity between two scenic spots more accurate.